import request from '@/utils/request'

// 查询抵押品小区评估价格列表
export function listHoursePrice(query) {
  return request({
    url: '/buss/hoursePrice/list',
    method: 'get',
    params: query
  })
}

// 查询抵押品小区评估价格详细
export function getHoursePrice(id) {
  return request({
    url: '/buss/hoursePrice/' + id,
    method: 'get'
  })
}

// 新增抵押品小区评估价格
export function addHoursePrice(data) {
  return request({
    url: '/buss/hoursePrice',
    method: 'post',
    data: data
  })
}

// 修改抵押品小区评估价格
export function updateHoursePrice(data) {
  return request({
    url: '/buss/hoursePrice',
    method: 'put',
    data: data
  })
}

// 删除抵押品小区评估价格
export function delHoursePrice(id) {
  return request({
    url: '/buss/hoursePrice/' + id,
    method: 'delete'
  })
}
